{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/gwf25/Desktop/online appendix.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res} 7 Dec 2015, 10:06:22

{com}. do "/Users/gwf25/Dropbox/research/religion/final code/online appendix.do"
{txt}
{com}. *2nd prime validation experiment, mturk only
. clear
{txt}
{com}. set more off
{txt}
{com}. insheet using "/Users/gwf25/Dropbox/research/religion/final code/mturk 2nd validation.txt"
{txt}(55 vars, 1989 obs)

{com}. drop if v1 == "ResponseID"
{txt}(1 observation deleted)

{com}. gen treatR = .
{txt}(1988 missing values generated)

{com}. replace treatR = 1 if q5 ~= ""
{txt}(914 real changes made)

{com}. replace treatR = 0 if q7 ~= ""
{txt}(923 real changes made)

{com}. tab treatR

     {txt}treatR {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        923       50.24       50.24
{txt}          1 {c |}{res}        914       49.76      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,837      100.00
{txt}
{com}. drop if religion == .
{txt}(200 observations deleted)

{com}. 
. *by religion
. *q19 asks about religion
. *1 = christian-protestant
. *2 = christian-catholic
. *3 = christian other
. *4 = jewish
. *5 = muslim
. *6 = buddhist
. *7 = hindu
. *8 = agnostic
. *9 = atheist
. *10 = other
. rename q19 religi
{txt}
{com}. gen relig = "5"
{txt}
{com}. replace relig = "1" if religi == "1"
{txt}(291 real changes made)

{com}. replace relig = "2" if religi == "2"
{txt}(260 real changes made)

{com}. replace relig = "3" if religi == "3"
{txt}(185 real changes made)

{com}. replace relig = "4" if religi == "4"
{txt}(44 real changes made)

{com}. replace relig = "8" if religi == "8"
{txt}(369 real changes made)

{com}. replace relig = "9" if religi == "9"
{txt}(425 real changes made)

{com}. 
. *drop those who aren't protestant in the other christian category
. replace relig = "5" if relig == "3" & q20 == "witness"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Unity"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "The Church of Jesus Christ of Latter-Day Saints"
{txt}(2 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "The Church of Jesus Christ of Latter-Day Saints"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "The Church of Jesus Christ of Latter Day Saints"
{txt}(2 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "The Church of Jesus Christ of Latter Day Saints"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "progressive christian"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Orthodox Christian"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Orthodox"
{txt}(2 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "Orthodox"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "Mormon"
{txt}(8 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "mormon"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Mormon"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "Mormon"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "Mormon"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "Mormon"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "Mormon"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "Mormon"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "Mormon"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "LDS"
{txt}(4 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "LDS"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "LDS"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "LDS"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "Latter-day Saint"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Latter Day Saint (Mormon)"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Latter Day Saint"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Jehovahs witness"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Jehovah's Witnesses"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Jehovah's Witness"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Jehovah witness"
{txt}(0 real changes made)

{com}. replace relig = "5" if relig == "3" & q20 == "Greek Orthodox"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Eastern Orthodox"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Church of Jesus Christ of Latter-Day Saints (LDS)"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Christian- Orthodox"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Christian Science"
{txt}(1 real change made)

{com}. replace relig = "5" if relig == "3" & q20 == "Black Hebrew"
{txt}(1 real change made)

{com}. 
. replace relig = "1" if relig == "1"
{txt}(0 real changes made)

{com}. replace relig = "2" if relig == "2"
{txt}(0 real changes made)

{com}. replace relig = "1" if relig == "3"
{txt}(150 real changes made)

{com}. replace relig = "4" if relig == "4"
{txt}(0 real changes made)

{com}. replace relig = "8" if relig == "8"
{txt}(0 real changes made)

{com}. replace relig = "8" if relig == "9"
{txt}(425 real changes made)

{com}. 
. count if treatR == 0 & (relig == "1" | relig == "3")
{res}  229
{txt}
{com}. count if treatR == 1 & (relig == "1" | relig == "3")
{res}  212
{txt}
{com}. count if treatR == 0 & relig == "2"
{res}  141
{txt}
{com}. count if treatR == 1 & relig == "2"
{res}  119
{txt}
{com}. count if treatR == 0 & relig == "4"
{res}   23
{txt}
{com}. count if treatR == 1 & relig == "4"
{res}   21
{txt}
{com}. count if treatR == 0 & (relig == "8" | relig == "9")
{res}  398
{txt}
{com}. count if treatR == 1 & (relig == "8" | relig == "9")
{res}  396
{txt}
{com}. 
. tabulate treatR relig, chi2

           {txt}{c |}                         relig
    treatR {c |}         1          2          4          5          8 {c |}     Total
{hline 11}{c +}{hline 55}{c +}{hline 10}
         0 {c |}{res}       229        141         23        114        398 {txt}{c |}{res}       905 
{txt}         1 {c |}{res}       212        119         21        135        396 {txt}{c |}{res}       883 
{txt}{hline 11}{c +}{hline 55}{c +}{hline 10}
     Total {c |}{res}       441        260         44        249        794 {txt}{c |}{res}     1,788 

{txt}          Pearson chi2({res}4{txt}) = {res}  4.1138  {txt} Pr = {res}0.391
{txt}
{com}. 
. count if treatR == 0 //905
{res}  905
{txt}
{com}. count if treatR == 1 //883
{res}  883
{txt}
{com}. 
. count if treatR == 0 & religion == 1 //253
{res}  253
{txt}
{com}. count if treatR == 1 & religion == 1 //248
{res}  248
{txt}
{com}. 
. di 253/905 //.280
{res}.27955801
{txt}
{com}. di 248/883 //.281
{res}.2808607
{txt}
{com}. 
. prtesti 905 .280 883 .281

{txt}Two-sample test of proportion                      {res}x{txt}: Number of obs = {res}     905
                                                   y{txt}: Number of obs = {res}     883
{txt}{hline 13}{c TT}{hline 64}
    Variable {c |}{col 22}Mean{col 29}Std. Err.{col 44}z{col 49}P>|z|{col 59}[95% Conf. Interval]
{hline 13}{c +}{hline 64}
{col 12}x{col 14}{c |}{res}{col 17}      .28{col 28} .0149252{col 58} .2507471{col 70} .3092529
           {txt}y {c |}{res}{col 17}     .281{col 28} .0151265{col 58} .2513527{col 70} .3106473
{txt}{hline 13}{c +}{hline 64}
        diff {c |}{res}{col 17}    -.001{col 28} .0212502{col 58}-.0426497{col 70} .0406497
{txt}{col 14}{c |}{col 17}under Ho:{res}{col 28}   .02125{col 38}   -0.05{col 49}0.962
{txt}{hline 13}{c BT}{hline 64}
        diff = prop({res}x{txt}) - prop({res}y{txt})                                  z = {res} -0.0471
{txt}    Ho: diff = 0

    Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(Z < z) = {res}0.4812         {txt}Pr(|Z| < |z|) = {res}0.9625          {txt}Pr(Z > z) = {res}0.5188
{txt}
{com}. 
. 
. 
. *difference in religious identification by treatment in validation sample
. clear
{txt}
{com}. set more off
{txt}
{com}. insheet using "/Users/gwf25/Dropbox/research/religion/final code/OnlineQuests.txt"
{txt}(69 vars, 2006 obs)

{com}. drop if v1 == "ResponseID"
{txt}(1 observation deleted)

{com}. gen treatR = .
{txt}(2005 missing values generated)

{com}. replace treatR = 1 if q5 ~= ""
{txt}(935 real changes made)

{com}. replace treatR = 0 if q7 ~= ""
{txt}(943 real changes made)

{com}. tab treatR

     {txt}treatR {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        943       50.21       50.21
{txt}          1 {c |}{res}        935       49.79      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,878      100.00
{txt}
{com}. 
. drop if classification1_1 == "" & id ~= 215
{txt}(202 observations deleted)

{com}. 
. drop if treatR == .
{txt}(5 observations deleted)

{com}. count if treatR == 1
{res}  895
{txt}
{com}. count if treatR == 0
{res}  903
{txt}
{com}. 
. 
. tab classification1_1

                      {txt}Classification1_1 {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                       Age or age group {c |}{res}         29        1.61        1.61
{txt}Arts in general (visual art, music, the {c |}{res}         63        3.51        5.12
                       {txt}Athletics/sports {c |}{res}         44        2.45        7.57
 {txt}Birthplace/hometown/place of residence {c |}{res}         12        0.67        8.24
                       {txt}Environmentalism {c |}{res}          3        0.17        8.40
{txt}Food and drink (excluding beer and liqu {c |}{res}          5        0.28        8.68
                                 {txt}Gender {c |}{res}        187       10.41       19.09
                            {txt}Human being {c |}{res}         50        2.78       21.87
                         {txt}Leisure travel {c |}{res}          1        0.06       21.93
       {txt}Mental feature/personality trait {c |}{res}         88        4.90       26.82
    {txt}Nationality/ethnicity/race/language {c |}{res}        137        7.62       34.45
   {txt}Non-family non-romantic relationship {c |}{res}         63        3.51       37.95
{txt}Non-professional interest/dislike/activ {c |}{res}         67        3.73       41.68
        {txt}Non-spousal family relationship {c |}{res}        493       27.43       69.12
                                  {txt}Other {c |}{res}         23        1.28       70.40
{txt}Partying/nightclubs/bars (including bee {c |}{res}          1        0.06       70.45
                       {txt}Physical feature {c |}{res}          6        0.33       70.78
                  {txt}Political Orientation {c |}{res}          1        0.06       70.84
                  {txt}Political orientation {c |}{res}         16        0.89       71.73
           {txt}Pro-social personality trait {c |}{res}         70        3.90       75.63
       {txt}Professional interest/profession {c |}{res}         88        4.90       80.52
     {txt}Religion, morality, and philosophy {c |}{res}        168        9.35       89.87
           {txt}Romantic relationship/status {c |}{res}         33        1.84       91.71
                     {txt}Sexual orientation {c |}{res}         26        1.45       93.16
                    {txt}Socioeconomic class {c |}{res}         11        0.61       93.77
{txt}Specific work of non-religious art or a {c |}{res}          4        0.22       93.99
{txt}Student (e.g. Cornell, major, year in s {c |}{res}        108        6.01      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}      1,797      100.00
{txt}
{com}. replace classification1_1 = "Political orientation" if classification1_1 == "Political Orientation"
{txt}(1 real change made)

{com}. tab classification1_2

                      {txt}Classification1_2 {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
    Nationality/ethnicity/race/language {c |}{res}          2       20.00       20.00
       {txt}Professional interest/profession {c |}{res}          2       20.00       40.00
     {txt}Religion, morality, and philosophy {c |}{res}          2       20.00       60.00
           {txt}Romantic relationship/status {c |}{res}          2       20.00       80.00
                    {txt}Socioeconomic class {c |}{res}          1       10.00       90.00
{txt}Student (e.g. Cornell, major, year in s {c |}{res}          1       10.00      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}         10      100.00
{txt}
{com}. tab classification1_3
{txt}no observations

{com}. 
. tab classification2_1

                      {txt}Classification2_1 {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                       Age or age group {c |}{res}         38        2.15        2.15
{txt}Arts in general (visual art, music, the {c |}{res}         80        4.52        6.67
                       {txt}Athletics/sports {c |}{res}         48        2.71        9.38
 {txt}Birthplace/hometown/place of residence {c |}{res}         24        1.36       10.74
                       {txt}Environmentalism {c |}{res}          6        0.34       11.08
{txt}Food and drink (excluding beer and liqu {c |}{res}          3        0.17       11.25
                                 {txt}Gender {c |}{res}        147        8.31       19.56
                            {txt}Human being {c |}{res}         10        0.57       20.12
                         {txt}Leisure travel {c |}{res}          4        0.23       20.35
       {txt}Mental feature/personality trait {c |}{res}        125        7.07       27.42
    {txt}Nationality/ethnicity/race/language {c |}{res}        165        9.33       36.74
   {txt}Non-family non-romantic relationship {c |}{res}        244       13.79       50.54
{txt}Non-professional interest/dislike/activ {c |}{res}        100        5.65       56.19
        {txt}Non-spousal family relationship {c |}{res}        199       11.25       67.44
                                  {txt}Other {c |}{res}         17        0.96       68.40
{txt}Partying/nightclubs/bars (including bee {c |}{res}          4        0.23       68.63
                       {txt}Physical feature {c |}{res}          5        0.28       68.91
                  {txt}Political orientation {c |}{res}         34        1.92       70.83
           {txt}Pro-social personality trait {c |}{res}         60        3.39       74.22
       {txt}Professional interest/profession {c |}{res}        137        7.74       81.97
     {txt}Religion, morality, and philosophy {c |}{res}        111        6.27       88.24
           {txt}Romantic relationship/status {c |}{res}         73        4.13       92.37
                     {txt}Sexual orientation {c |}{res}         21        1.19       93.56
                    {txt}Socioeconomic class {c |}{res}          8        0.45       94.01
{txt}Specific work of non-religious art or a {c |}{res}          3        0.17       94.18
{txt}Student (e.g. Cornell, major, year in s {c |}{res}        103        5.82      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}      1,769      100.00
{txt}
{com}. tab classification2_2

                   {txt}Classification2_2 {c |}      Freq.     Percent        Cum.
{hline 37}{c +}{hline 35}
                              Gender {c |}{res}          1        9.09        9.09
 {txt}Nationality/ethnicity/race/language {c |}{res}          2       18.18       27.27
{txt}Non-family non-romantic relationship {c |}{res}          1        9.09       36.36
     {txt}Non-spousal family relationship {c |}{res}          2       18.18       54.55
    {txt}Professional interest/profession {c |}{res}          2       18.18       72.73
        {txt}Romantic relationship/status {c |}{res}          3       27.27      100.00
{txt}{hline 37}{c +}{hline 35}
                               Total {c |}{res}         11      100.00
{txt}
{com}. tab classification2_3

              {txt}Classification2_3 {c |}      Freq.     Percent        Cum.
{hline 32}{c +}{hline 35}
                         Gender {c |}{res}          1       50.00       50.00
{txt}Non-spousal family relationship {c |}{res}          1       50.00      100.00
{txt}{hline 32}{c +}{hline 35}
                          Total {c |}{res}          2      100.00
{txt}
{com}. 
. tab classification3_1

                      {txt}Classification3_1 {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                       Age or age group {c |}{res}         48        2.77        2.77
{txt}Arts in general (visual art, music, the {c |}{res}         78        4.50        7.27
                       {txt}Athletics/sports {c |}{res}         60        3.46       10.73
 {txt}Birthplace/hometown/place of residence {c |}{res}         44        2.54       13.26
                       {txt}Clothing/fashion {c |}{res}          1        0.06       13.32
                       {txt}Environmentalism {c |}{res}          7        0.40       13.73
{txt}Food and drink (excluding beer and liqu {c |}{res}         15        0.87       14.59
                                 {txt}Gender {c |}{res}         94        5.42       20.01
                            {txt}Human being {c |}{res}          7        0.40       20.42
                         {txt}Leisure travel {c |}{res}          2        0.12       20.53
       {txt}Mental feature/personality trait {c |}{res}        107        6.17       26.70
    {txt}Nationality/ethnicity/race/language {c |}{res}        133        7.67       34.37
   {txt}Non-family non-romantic relationship {c |}{res}        181       10.44       44.81
{txt}Non-professional interest/dislike/activ {c |}{res}        118        6.81       51.61
        {txt}Non-spousal family relationship {c |}{res}        187       10.78       62.40
                                  {txt}Other {c |}{res}         12        0.69       63.09
{txt}Partying/nightclubs/bars (including bee {c |}{res}          6        0.35       63.44
                       {txt}Physical feature {c |}{res}         13        0.75       64.19
                  {txt}Political orientation {c |}{res}         51        2.94       67.13
           {txt}Pro-social personality trait {c |}{res}         93        5.36       72.49
       {txt}Professional interest/profession {c |}{res}        145        8.36       80.85
     {txt}Religion, morality, and philosophy {c |}{res}        109        6.29       87.14
           {txt}Romantic relationship/status {c |}{res}         56        3.23       90.37
                     {txt}Sexual orientation {c |}{res}         21        1.21       91.58
                    {txt}Socioeconomic class {c |}{res}         14        0.81       92.39
{txt}Specific work of non-religious art or a {c |}{res}          7        0.40       92.79
{txt}Student (e.g. Cornell, major, year in s {c |}{res}        124        7.15       99.94
                     {txt}sexual orientation {c |}{res}          1        0.06      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}      1,734      100.00
{txt}
{com}. replace classification3_1 = "Sexual orientation" if classification3_1 == "sexual orientation"
{txt}(1 real change made)

{com}. tab classification3_2

                      {txt}Classification3_2 {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
Arts in general (visual art, music, the {c |}{res}          1       14.29       14.29
 {txt}Birthplace/hometown/place of residence {c |}{res}          1       14.29       28.57
       {txt}Professional interest/profession {c |}{res}          2       28.57       57.14
           {txt}Romantic relationship/status {c |}{res}          2       28.57       85.71
                     {txt}Sexual orientation {c |}{res}          1       14.29      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}          7      100.00
{txt}
{com}. tab classification3_3

                      {txt}Classification3_3 {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
        Non-spousal family relationship {c |}{res}          1       50.00       50.00
{txt}Student (e.g. Cornell, major, year in s {c |}{res}          1       50.00      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}          2      100.00
{txt}
{com}. 
. tab classification4_1

                      {txt}Classification4_1 {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                       Age or age group {c |}{res}         43        2.56        2.56
{txt}Arts in general (visual art, music, the {c |}{res}         87        5.18        7.75
                       {txt}Athletics/sports {c |}{res}         89        5.30       13.05
 {txt}Birthplace/hometown/place of residence {c |}{res}         67        3.99       17.04
                       {txt}Clothing/fashion {c |}{res}          3        0.18       17.22
                       {txt}Environmentalism {c |}{res}          8        0.48       17.70
{txt}Food and drink (excluding beer and liqu {c |}{res}         13        0.77       18.47
                                 {txt}Gender {c |}{res}         59        3.52       21.99
                            {txt}Human being {c |}{res}          7        0.42       22.41
                         {txt}Leisure travel {c |}{res}         12        0.72       23.12
       {txt}Mental feature/personality trait {c |}{res}        141        8.40       31.53
    {txt}Nationality/ethnicity/race/language {c |}{res}        115        6.85       38.38
   {txt}Non-family non-romantic relationship {c |}{res}        164        9.77       48.15
{txt}Non-professional interest/dislike/activ {c |}{res}        157        9.36       57.51
        {txt}Non-spousal family relationship {c |}{res}        139        8.28       65.79
                                  {txt}Other {c |}{res}         11        0.66       66.45
{txt}Partying/nightclubs/bars (including bee {c |}{res}          4        0.24       66.69
                       {txt}Physical feature {c |}{res}         25        1.49       68.18
                  {txt}Political orientation {c |}{res}         44        2.62       70.80
           {txt}Pro-social personality trait {c |}{res}         76        4.53       75.33
       {txt}Professional interest/profession {c |}{res}        140        8.34       83.67
     {txt}Religion, morality, and philosophy {c |}{res}         73        4.35       88.02
           {txt}Romantic relationship/status {c |}{res}         45        2.68       90.70
                     {txt}Sexual orientation {c |}{res}          8        0.48       91.18
                    {txt}Socioeconomic class {c |}{res}         20        1.19       92.37
{txt}Specific work of non-religious art or a {c |}{res}          5        0.30       92.67
{txt}Student (e.g. Cornell, major, year in s {c |}{res}        122        7.27       99.94
                                  {txt}other {c |}{res}          1        0.06      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}      1,678      100.00
{txt}
{com}. replace classification4_1 = "Other" if classification4_1 == "other"
{txt}(1 real change made)

{com}. tab classification4_2

                      {txt}Classification4_2 {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                       Age or age group {c |}{res}          1       10.00       10.00
                       {txt}Athletics/sports {c |}{res}          1       10.00       20.00
 {txt}Birthplace/hometown/place of residence {c |}{res}          2       20.00       40.00
                         {txt}Leisure travel {c |}{res}          1       10.00       50.00
   {txt}Non-family non-romantic relationship {c |}{res}          1       10.00       60.00
{txt}Non-professional interest/dislike/activ {c |}{res}          1       10.00       70.00
        {txt}Non-spousal family relationship {c |}{res}          1       10.00       80.00
                       {txt}Physical feature {c |}{res}          1       10.00       90.00
       {txt}Professional interest/profession {c |}{res}          1       10.00      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}         10      100.00
{txt}
{com}. tab classification4_3

                   {txt}Classification4_3 {c |}      Freq.     Percent        Cum.
{hline 37}{c +}{hline 35}
Non-family non-romantic relationship {c |}{res}          1      100.00      100.00
{txt}{hline 37}{c +}{hline 35}
                               Total {c |}{res}          1      100.00
{txt}
{com}. 
. tab classification5_1

                      {txt}Classification5_1 {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                       Age or age group {c |}{res}         31        1.89        1.89
{txt}Arts in general (visual art, music, the {c |}{res}         88        5.37        7.26
                       {txt}Athletics/sports {c |}{res}         86        5.25       12.52
 {txt}Birthplace/hometown/place of residence {c |}{res}         71        4.33       16.85
                       {txt}Clothing/fashion {c |}{res}          5        0.31       17.16
                       {txt}Environmentalism {c |}{res}         10        0.61       17.77
{txt}Food and drink (excluding beer and liqu {c |}{res}         20        1.22       18.99
                                 {txt}Gender {c |}{res}         46        2.81       21.79
                            {txt}Human being {c |}{res}         20        1.22       23.02
                         {txt}Leisure travel {c |}{res}          9        0.55       23.57
       {txt}Mental feature/personality trait {c |}{res}        182       11.11       34.68
    {txt}Nationality/ethnicity/race/language {c |}{res}        123        7.51       42.19
   {txt}Non-family non-romantic relationship {c |}{res}        130        7.94       50.12
{txt}Non-professional interest/dislike/activ {c |}{res}        186       11.36       61.48
        {txt}Non-spousal family relationship {c |}{res}         99        6.04       67.52
                                  {txt}Other {c |}{res}         18        1.10       68.62
{txt}Partying/nightclubs/bars (including bee {c |}{res}          5        0.31       68.93
                       {txt}Physical feature {c |}{res}         21        1.28       70.21
                  {txt}Political orientation {c |}{res}         48        2.93       73.14
           {txt}Pro-social personality trait {c |}{res}         75        4.58       77.72
       {txt}Professional interest/profession {c |}{res}        114        6.96       84.68
     {txt}Religion, morality, and philosophy {c |}{res}         80        4.88       89.56
           {txt}Romantic relationship/status {c |}{res}         51        3.11       92.67
                     {txt}Sexual orientation {c |}{res}          8        0.49       93.16
                    {txt}Socioeconomic class {c |}{res}         20        1.22       94.38
{txt}Specific work of non-religious art or a {c |}{res}          6        0.37       94.75
{txt}Student (e.g. Cornell, major, year in s {c |}{res}         86        5.25      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}      1,638      100.00
{txt}
{com}. tab classification5_2

                      {txt}Classification5_2 {c |}      Freq.     Percent        Cum.
{hline 40}{c +}{hline 35}
                       Age or age group {c |}{res}          1       12.50       12.50
   {txt}Non-family non-romantic relationship {c |}{res}          1       12.50       25.00
{txt}Non-professional interest/dislike/activ {c |}{res}          2       25.00       50.00
        {txt}Non-spousal family relationship {c |}{res}          1       12.50       62.50
                       {txt}Physical feature {c |}{res}          1       12.50       75.00
       {txt}Professional interest/profession {c |}{res}          2       25.00      100.00
{txt}{hline 40}{c +}{hline 35}
                                  Total {c |}{res}          8      100.00
{txt}
{com}. tab classification5_3
{txt}no observations

{com}. 
. ***RESULTS***
. 
. *RELIGION
. generate religion = 0
{txt}
{com}. replace religion = 1 if classification1_1 == "Religion, morality, and philosophy"
{txt}(168 real changes made)

{com}. replace religion = 1 if classification1_2 == "Religion, morality, and philosophy"
{txt}(2 real changes made)

{com}. replace religion = 1 if classification2_1 == "Religion, morality, and philosophy" 
{txt}(96 real changes made)

{com}. replace religion = 1 if classification2_2 == "Religion, morality, and philosophy" 
{txt}(0 real changes made)

{com}. replace religion = 1 if classification2_3 == "Religion, morality, and philosophy" 
{txt}(0 real changes made)

{com}. replace religion = 1 if classification3_1 == "Religion, morality, and philosophy" 
{txt}(97 real changes made)

{com}. replace religion = 1 if classification3_2 == "Religion, morality, and philosophy" 
{txt}(0 real changes made)

{com}. replace religion = 1 if classification3_3 == "Religion, morality, and philosophy" 
{txt}(0 real changes made)

{com}. replace religion = 1 if classification4_1 == "Religion, morality, and philosophy" 
{txt}(62 real changes made)

{com}. replace religion = 1 if classification4_2 == "Religion, morality, and philosophy" 
{txt}(0 real changes made)

{com}. replace religion = 1 if classification4_3 == "Religion, morality, and philosophy" 
{txt}(0 real changes made)

{com}. replace religion = 1 if classification5_1 == "Religion, morality, and philosophy" 
{txt}(70 real changes made)

{com}. replace religion = 1 if classification5_2 == "Religion, morality, and philosophy"
{txt}(0 real changes made)

{com}. 
. *by religion
. *q19 asks about religion
. *1 = christian-protestant
. *2 = christian-catholic
. *3 = christian other
. *4 = jewish
. *5 = muslim
. *6 = buddhist
. *7 = hindu
. *8 = agnostic
. *9 = atheist
. *10 = other
. rename q19 relig
{txt}
{com}. *drop those who aren't protestant in the other christian category
. replace relig = "." if relig == "3" & q20 == "Christian-Orthodox"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "my business"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "orthodoxy"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "LDS/Mormon"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Jehovah's Witness :)"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Orthodox"
{txt}(2 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "I don't affiliate with any church"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Jehovah's Witness"
{txt}(4 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "I see myself as a Christian however I draw spiritual inspiration from many religious traditions"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Unity School of Christianity"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Greek Orthodox"
{txt}(3 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "Spiritual"
{txt}(2 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "independent"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "none"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "unity/new age"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "afro-christian called UMBANDA"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "no group or religion"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "LDS"
{txt}(3 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "Christian nature lover"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Believer but not praticing"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Spirtulist"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Greek Orthodox"
{txt}(0 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "Kardecist Spiritism"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "latter-day saint (Mormon)"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Coptic, Orthodox"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "I believe in God, and I pray but I don't follow any kind of organized church, nor do I profess my beliefs."
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Jehovah's Witness"
{txt}(0 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "Greek Orthodox"
{txt}(0 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "Orthdox"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "lds"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Messianic Judiasm"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "I am Orthodox Christian"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Coptic Orthodox Christian"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "not very religious"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "latter day saints"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "LDS"
{txt}(0 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "Orthodox"
{txt}(0 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "Latter Day Saint"
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "Jehovah's Witness"
{txt}(0 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "I love jesus and god but religion is a scam and has not contributed anything to humanity."
{txt}(1 real change made)

{com}. replace relig = "." if relig == "3" & q20 == "LDS"
{txt}(0 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "Jehovah's Witnesses"
{txt}(2 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "Jehovah's Witness"
{txt}(0 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "Jehovah's Witnesses"
{txt}(0 real changes made)

{com}. replace relig = "." if relig == "3" & q20 == "The Church of Jesus Christ of Latter-day Saints"
{txt}(1 real change made)

{com}. 
. count if treatR == 1 //895
{res}  895
{txt}
{com}. count if treatR == 0 //903
{res}  903
{txt}
{com}. 
. count if treatR == 1 & relig == "2" //138
{res}  138
{txt}
{com}. count if treatR == 0 & relig == "2" //176
{res}  176
{txt}
{com}. 
. di 138/895 //.154
{res}.15418994
{txt}
{com}. di 176/903 //.195
{res}.19490587
{txt}
{com}. 
. count if treatR == 1 & (relig == "1" | relig == "3") //271
{res}  271
{txt}
{com}. count if treatR == 0 & (relig == "1" | relig == "3") //239
{res}  239
{txt}
{com}. 
. di 271/895 //.303
{res}.3027933
{txt}
{com}. di 239/903 //.265
{res}.26467331
{txt}
{com}. 
. *frequency of christians by treatment and calculation of bounds on effect
. count if treatR == 1 & (relig == "1" | relig == "3" | relig == "2") //409
{res}  409
{txt}
{com}. count if treatR == 0 & (relig == "1" | relig == "3" | relig == "2") //415
{res}  415
{txt}
{com}. 
. di 409/895 //.457
{res}.45698324
{txt}
{com}. di 415/903 //.460
{res}.45957918
{txt}
{com}. 
. count if treatR == 1 & relig == "2" //138
{res}  138
{txt}
{com}. count if treatR == 0 & relig == "2" //176
{res}  176
{txt}
{com}. 
. di 138/409 // .337
{res}.33740831
{txt}
{com}. di 176/415 // .424
{res}.42409639
{txt}
{com}. 
. count if treatR == 1 & relig == "2" & religion == 1 //46
{res}   46
{txt}
{com}. di 46/409 //.112
{res}.11246944
{txt}
{com}. 
. count if treatR == 0 & relig == "2" & religion == 1 //46
{res}   46
{txt}
{com}. count if treatR == 0 & relig == "2" //176
{res}  176
{txt}
{com}. di 46/176 //.261
{res}.26136364
{txt}
{com}. 
. count if treatR == 1 & (relig == "1" | relig == "3") & religion == 1 //129
{res}  129
{txt}
{com}. di 129/409 //.315
{res}.31540342
{txt}
{com}. 
. count if treatR == 0 & (relig == "1" | relig == "3") & religion == 1 //98
{res}   98
{txt}
{com}. di 98/239 //.410
{res}.41004184
{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/gwf25/Desktop/online appendix.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res} 7 Dec 2015, 10:06:29
{txt}{.-}
{smcl}
{txt}{sf}{ul off}